﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Script.Serialization;
using System.Text;


namespace Roteirização
{
    public class Rota
    {
        public void GetRota()
        {
            JavaScriptSerializer jss = new JavaScriptSerializer();
            //String res = jss.Serialize(HttpContext.Current.Response.Redirect("GET", "http://maps.googleapis.com/maps/api/distancematrix/json?origins=Rua+Manuel+Dutra+312+SaoPaulo&destinations=Rua+Orissanga+26+Sao+Paulo|Rua+Consola%C3%A7%C3%A3o+123+Sao+Paulo|06795+005|Rua+Vergueiro+200+Sao+Paulo&mode=driving&language=pt-br&sensor=false",true); 
        }
    }

}